/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-12-18 上午11:19 Created by dwzhang
 */
package com.jade.bss.ec.order;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单发票信息。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-12-18 上午11:19
 */
@Entity
@Table (name = "BSS_EC_ORDER_INVOICE")
public class InvoiceInfo implements Serializable
{
    @Id
    @Column (name = "order_id", nullable = false)
    private long orderId;
    //发票类型 0 － 普通发票  1 － 增值税发票
    @Column (name = "type", nullable = false)
    private int type;
    //发票抬头
    @Column (name = "title", nullable = false, length = 64)
    private String title;
    //备注说明
    @Column (name = "remark", length = 128)
    private String remark;
    //以下信息针对增值税发票
    //纳税人识别号
    @Column (name = "taxpayer_ident", length = 32)
    private String taxpayerIdent;
    //注册地址
    @Column (name = "registered_address", length = 128)
    private String  registeredAddress;
    //联系电话
    @Column (name = "registered_phone", length = 32)
    private String registeredPhone;
    //开户银行
    @Column (name = "deposit_bank", length = 64)
    private String  depositBank;
    //银行帐号
    @Column (name = "bank_account", length = 32)
    private String bankAccount;

    public long getOrderId()
    {
        return orderId;
    }

    public void setOrderId(long orderId)
    {
        this.orderId = orderId;
    }

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public String getTaxpayerIdent()
    {
        return taxpayerIdent;
    }

    public void setTaxpayerIdent(String taxpayerIdent)
    {
        this.taxpayerIdent = taxpayerIdent;
    }

    public String getRegisteredAddress()
    {
        return registeredAddress;
    }

    public void setRegisteredAddress(String registeredAddress)
    {
        this.registeredAddress = registeredAddress;
    }

    public String getRegisteredPhone()
    {
        return registeredPhone;
    }

    public void setRegisteredPhone(String registeredPhone)
    {
        this.registeredPhone = registeredPhone;
    }

    public String getDepositBank()
    {
        return depositBank;
    }

    public void setDepositBank(String depositBank)
    {
        this.depositBank = depositBank;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }
}
